package com.foyekoo.project001.model;

import android.content.Intent;
import android.databinding.ObservableField;
import android.provider.Settings;

import com.foyekoo.project001.App;

/**
 * ${huneng} on 2018/8/3 17:28
 */

public class SystemSetVM extends BaseVM {

    public ObservableField<String> pwd = new ObservableField<>("8888");

    public void setPwd(){
        //TODO
    }

    public void goToTimeSetting(){
        Intent intent = new Intent(Settings.ACTION_DATE_SETTINGS);
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        App.getInstance().startActivity(intent);
    }

    public void reset(){

    }
}
